Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate module from CommonJS to ES-Module #393

Merged
merged 18 commits into from
Aug 2, 2022
Merged

Migrate module from CommonJS to ES-Module #393

merged 18 commits into from
Aug 2, 2022

Conversation

Borewit
Copy link
Owner

@Borewit Borewit commented Dec 14, 2021

Resolves #389

@Borewit Borewit self-assigned this Dec 14, 2021
@AaronPorts
Copy link

Seems like the wrong export in package.json. Quick fix:

"exports": {
    ".": {
      "node": "./lib/index.js",
      "default": "./lib/index.js"
    }
  },

@Borewit
Copy link
Owner Author

Borewit commented Dec 17, 2021

Seems like the wrong export in package.json. Quick fix:

Fixed in v5.0.0-alpha.2 via #397

@Borewit Borewit mentioned this pull request Dec 17, 2021
Borewit and others added 11 commits August 1, 2022 12:39
# Conflicts:
#	.github/workflows/nodejs-ci.yml
#	package.json
#	test/test-int16.ts
#	test/test-int64.ts
#	test/test-int8.ts
#	test/test-uint16.ts
#	test/test-uint24.ts
#	test/test-uint8.ts
#	yarn.lock
Bumps [c8](https://github.com/bcoe/c8) from 7.10.0 to 7.12.0.
- [Release notes](https://github.com/bcoe/c8/releases)
- [Changelog](https://github.com/bcoe/c8/blob/main/CHANGELOG.md)
- [Commits](bcoe/c8@v7.10.0...v7.12.0)

---
updated-dependencies:
- dependency-name: c8
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](mochajs/mocha@v9.2.2...v10.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Add compatibility section
# Conflicts:
#	.github/dependabot.yml
@Borewit Borewit merged commit dc1c3f0 into master Aug 2, 2022
@Borewit Borewit deleted the es-module branch August 2, 2022 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release an ES module
3 participants